main_object = 1.o ThreadPool.o

clean: obj
	rm  *.o

obj: $(main_object)
	g++ -o 1main $(main_object) -pthread

1.o: 1.cpp
	g++ -c 1.cpp
ThreadPool.o: ThreadPool.cpp
	g++ -c ThreadPool.cpp
